<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
<xsl:output omit-xml-declaration="no" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" />
<xsl:template match = "/icestats" >
<pre>
<!-- FIXME add version info here?  each change in parameters in this file will
bump the version number up?? -->
Server Start: <xsl:value-of select="server_start" />|Current Connections: <xsl:value-of select="clients" />|Current Sources: <xsl:value-of select="sources" />|Total Connections:<xsl:value-of select="connections" />|Total Client Connections:<xsl:value-of select="client_connections" />|Total Source Connections:<xsl:value-of select="source_total_connections" />;
Mount Point|Stream Name|Stream Start|Current Listeners|Description|Currently Playing|Stream URL;
<xsl:for-each select="source">
<xsl:value-of select="@mount" />|<xsl:value-of select="server_name" />|<xsl:value-of select="stream_start" />|<xsl:value-of select="listeners" />|<xsl:value-of select="server_description" />|<xsl:value-of select="title" />|<xsl:value-of select="server_url" />;
</xsl:for-each>
</pre>
</xsl:template>
</xsl:stylesheet>
